package com.charlotte.study.gupao.strategy.promotion.v1;

import com.charlotte.study.gupao.strategy.promotion.IPromotionStrategy;

/**
 * @author junjie.ding
 * @date 2020/3/16
 */
public class PromotionActivity {

    private IPromotionStrategy promotionStrategy;

    public PromotionActivity(IPromotionStrategy promotionStrategy) {
        this.promotionStrategy = promotionStrategy;
    }

    public void execute(){
        this.promotionStrategy.doPromotion();
    }
}
